/*
 *    Copyright (c) 2018-2025, boss All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the boss developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: boss
 */

package com.hopes.bizz.risk.hid.dto;

import com.hopes.boss.common.entity.ExcelDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 隐患信息
 *
 * @author pig
 * @date 2023-07-18 15:10:50
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class RiskHidHiddenDangerExcelDTO extends ExcelDTO {

    private static final long serialVersionUID = 1L;

	/**
	 * 隐患级别
	 */
	private String hidLevel;

	/**
	 * 隐患来源
	 */
	private String hidSource;

	/**
	 * 隐患类型
	 */
	private String hidType;



	/**
	 * 责任部门
	 */
	private String deptId;


	/**
	 * 上报人员
	 */
	private String reportUserId;

	/**
	 * 导出类型
	 * * * */
	@NotNull(message = "导出类型不能为空")
	private String exportType;

	//逾期状态（隐患台账导出时使用 1 逾期 0 未逾期 null 全部导出）
	private String overdueStatus;

	/**
	 * 上报开始时间
	 * * * */
	@NotNull(message = "上报开始时间不能为空")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date reportStartTime;

	/**
	 * 上报结束时间
	 * * * */
	@NotNull(message = "上报结束时间不能为空")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date reportEndTime;
}
